package com.ynet.middleground.contract.bean;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 环节的业务数据中,传的参数名称与最终显示名称对应关系 <br />
 *              定义业务凭证中某一证据点的字段属性时使用
 * @date 2020-04-15 17:21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "业务凭证中某一证据点字段属性", description = "场景式存证，业务凭证中某一证据点字段属性")
public class DisplayLinkParam implements Serializable {

    private static final long serialVersionUID = 4965035832333978486L;

    @ApiModelProperty(value = "属性的显示名称", notes = "属性的显示名称", dataType = "String", required = true)
    @NotBlank(message = "属性的显示名称不能为空")
    private String displayName;

    @ApiModelProperty(value = "属性的参数名称", notes = "属性的参数名称", dataType = "String", required = true)
    @NotBlank(message = "属性的参数名称不能为空")
    private String paramName;

}
